package com.vca.service.service;
import com.alibaba.fastjson.JSONObject;
import com.vca.common.model.order.StoreOrder;
import com.vca.common.request.Body;
import com.vca.common.request.RoutePushRequest;
import com.vca.common.request.StoreOrderSendRequest;
import com.vca.common.request.WaybillRoute;
import com.vca.common.response.sf.ResponseCancel;
import com.vca.common.response.sf.RoutePushResponse;

import java.util.List;

/**
 * 顺丰快递
 * @author wangsong
 * @mail 1720696548@qq.com
 * @date 2020/9/15 0015 17:22
 * @version 1.0.0
 */
public interface SFService {

    ResponseCancel sendSF(StoreOrderSendRequest request);

    ResponseCancel cancelSF(String orderId);

    ResponseCancel getOrderResult(String orderId);

    /**
     * 物流
     * @param orderNo
     * @return
     */
    ResponseCancel getOrderRouting(String language,String orderNo,Integer type);

    /**
     * 路由推送
     * @param Body
     * @return
     */
    RoutePushResponse getRoutePush(Body Body);

    /**
     * 收货消息通知
     * @param storeOrder
     * @return
     */
    Boolean orderTakePushMessage(StoreOrder storeOrder);


}

